Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gabriel Torres Posted June 24, 2018 Posted June 24, 2018 Hi guys, I need to add a tracking tag within the <head> tag, but only in a few selected pages. We have Pages installed, and these pages belong to the same database, so I wonder if there is something we could edit somewhere that would apply this code only for that database. Of course we can write a plugin to achieve what we need, but I am wondering if there is an out-of-the-box solution first. Best regards, Gabe.
AlexWright Posted June 24, 2018 Posted June 24, 2018 43 minutes ago, Gabriel Torres said: Hi guys, I need to add a tracking tag within the <head> tag, but only in a few selected pages. We have Pages installed, and these pages belong to the same database, so I wonder if there is something we could edit somewhere that would apply this code only for that database. Of course we can write a plugin to achieve what we need, but I am wondering if there is an out-of-the-box solution first. Best regards, Gabe. Make or add a custom template that includes that code. Swap the pages you want to track over to that template. You can copy the code from already-existing templates, make a new template, paste that code, then add your tracking code.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.