How to Add Tracking Scripts to All Thrive Architect Landing Pages at Once

​We've added a convenient new feature in Thrive Architect that solves a problem you may have had with our landing pages, up until now. ​​Adding scripts like the Google Analytics tracking script or Facebook retargeting pixels to your Thrive Architect landing pages, ​was not always easy: some 3rd-party plugins successfully insert the scripts on our landing pages, but many don't.

To make things easier to manage, we've now created a landing page script manager as part of Thrive Architect. With it, you can choose what scripts to add to all landing pages without needing any 3rd-party plugins.

Check out the video to see how it works!

More...

​To find the new script manager options, log in to your wp-admin dashboard and go to the Thrive Dashboard:

​In the main Thrive Dashboard view, you'll now find this Landing Page Script Manager:

Click on it to get to this view, where you can add, remove, edit and toggle your scripts, as, well as determine in what location in the page's code they should be inserted:

If you have any questions or feedback about the feature, please let us know by leaving a comment below!

Shane

Author: Shane Melaugh

Shane Melaugh is a co-founder and the CEO of Thrive Themes. When he isn't plotting new ways to create awesome WordPress themes & plugins, he likes to geek out about camera equipment and medieval swords. He also writes about startups and marketing here.

  • Juan says:

    This is a very necessary and usefull feature because it is very common to forget add the scripts by separate in each langin page.

    God Job team.

    • Shane Melaugh says:

      Thank you, Juan.

  • Justin says:

    YES!!!!

  • Very helpful! One question, how will it handle all of the landing pages we’ve already built and manually added scripts to them?

    • Juergen B says:

      Same question: An awesome feature, but do we need to go back manually to remove any manually added tracking scripts for each landing page?

    • Shane Melaugh says:

      Right now, it would load the scripts twice on those pages. We are discussing the possibility to add a feature that clears all the individually added scripts, in case you have many of them and want to transition to this script manager instead.

      • Juergen B says:

        Thanks Shane, such a feature would be exactly what I (and others) are looking for! I would advocate for the following:

        Instead of “clearing” or deleting all scripts from existing thrive pages, could you instead make this a “disabling” or “suppressing scripts” feature. This way, in case something goes wrong, one could recover.

      • Nick Martin says:

        Great solution Juergen. I’m with these guys in that I love the new feature but to have to go back and find all the old scripts feels like a big job. Especially when it’s not obvious from the WP interface whether a page is a Thrive Landing Page or a Theme Page. Having scripts fire twice would be a nightmare.

      • Shane Melaugh says:

        Thank you for the suggestion. We’ll see what we can do, regarding this.

  • Balazs says:

    Awesome feature and really needed! :)
    New theme mentioned once again in the video, can you tell us something more? Is it far away?

    • Shane Melaugh says:

      We will have an update on the new theme coming soon.

      • Luke says:

        Soon like “next month” or soon like “before 2019”? Just asking because i’m on the fence to buy Divi.

  • Christopher says:

    What are the benefits of using this as opposed to a WP plug-in like Pixel Your Site?

    • Shane Melaugh says:

      Hello Christopher,

      We built this feature because not all such plugins successfully manage to insert the scripts in Thrive Architect landing pages. So, if the tool you are using is adding the scripts successfully, you don’t need this. But if there are some scripts that aren’t being loaded on your landing pages, you can use this feature for them.

  • Ion D says:

    Great but I still need few plugins to add the scripts on the rest of the pages… If i remove the plugins, I don’t have the scripts on all pages and if I keep the plugins my scripts are triggered 2 times on landing pages…

    So, I think I will start using this feature only when you release that new theme.

    Is the theme coming soon Shane?

    • Shane Melaugh says:

      Hello Ion,

      If you use other plugins to add scripts, you can check which of those scripts are successfully loaded on Thrive Architect landing pages. If any are missing, you can add those in the script manager to “fill the gaps”.

  • Juergen B says:

    Awesome, thanks gang!

    Question: Will this be extended to Thrive Lightboxes?

    I often need to add scripts there…

    • Shane Melaugh says:

      Hello Juergen,

      We don’t have plans to add script management to lightboxes, sorry.

  • Hello Shane,

    Great feature! thank you for it.

    Questions:

    1- Maybe I misunderstood, but how do you selectively use this feature to add the scripts at once only for certain Thrive Architect Pages and not all of them?
    If I could get all pages displayed on a list, I could pick the ones I want to add the scripts on.

    2- May I also use this tool to add the scripts on pages that have not been built with Thrive Architect?

    I hope to make sense, If I don´t then I apologize.

    Thanks for your attention.

    • Shane Melaugh says:

      Hello Luis,

      1) That’s not an option, no. You can add scripts to be loaded on all landing pages using this feature or you can add scripts indivdually to pages. There’s no inbetween option.

      2) No, this only applies to Thrive Architect landing pages. For all your other pages, there are various 3rd-party plugins for managing tracking scripts.

      • Ralph+R says:

        Hi Shane, what is the difference between a Landing page built with Thrive Architekt and a normal “content” page bulit with Thrive Architekt? Is it correct, that the skripts will be include on all pages (and posts), that will be built with Architekt?

      • Shane Melaugh says:

        This script manager is only for pages using a Thrive Architect landing page template. Our landing pages “ignore” your normal theme setup and pages almost entirely, to make them as fast and lean as possible. This is why some plugins that insert tracking scripts don’t insert them in our landing pages, but they do work for normal posts and pages.

      • Ralph+R says:

        Thank you for this explanation.

  • Krisztián Márta says:

    Great feature! We look forward to the new theme! :)

  • Vicente B says:

    Yes Thank you !!…but ok the other hand..could you Tell us something about new theme?,

    • Shane Melaugh says:

      We’ll have an update on the new theme coming soon.

      • Tasha says:

        Aww…Come on Shane! We need details nowwwww!!! lol

  • Shawn says:

    Such an intuitive and nice feature add that was needed. Thank you Thrive Themes!

    • Shane Melaugh says:

      Thank you, Shawn!

  • Bryce M says:

    Does this have advanced features like the ability to track eCommerce or other GTM data layer elements for analysis in Google Analytics?

    • Shane Melaugh says:

      It doesn’t have any features beyond inserting the code on your landing pages. For more advanced stuff, I recommend using Googe Tag Manager.

  • Claudemir M says:

    Really awesome, that helps a lot. Now will be much easier and faster to work with those scripts and not forget some page without them.

    Thanks Shane, you guys rock.

    • Shane Melaugh says:

      Thank you, Claudemir!

  • Michael Lockston says:

    Any suggestions for adding the lead pixel code to your TY pages? I suspect just add the script manually on the pages that require it.

  • Jay says:

    When you say “landing pages” are you referring to any web page or does it have to specifically be designated as a landing page?

    • Shane Melaugh says:

      Hi Jay,

      I’m referring to landing pages built using the Thrive Architect landing page templates.

  • Drew A says:

    Hi Shane,
    This update is groovy for the scripts that need to be the same on all landing pages.

    What about scripts that are page specific though? How do we add scripts individually to pages?

    For example: we use OntraPort for checkout and each upsell lander in a flow needs to have it’s own specific tracking and next event script.

    Another example: each product lander needs to have it’s own product specific reatargeting pixel.

    Thank you!

  • Josh says:

    Hey Shane. As always, this is impressive. One question…. I’m a newbie to this game. Do you have a guide to know which script goes where? Like does FB go only in header? Google Analytics only in body? And will your “predictor” know by default? Thanks.

    • Shane Melaugh says:

      Hi Josh,

      Whatever interface you copy the script from will tell you where to put it. :)

  • Frank S says:

    Thanks, Shane, that’s really helpful. As a lot of us are building our websites with Architect (not only landing pages) but also other pages it would be helpful if we could select exactly the page where the pixel is fired. For example, I want my “lead” pixel from Facebook only fired on my Thank You page. That might be something to consider? That would make the “Tracking Code Manager” plugin redundant :) And we all love when we can use fewer plugins. Appreciate all you’re creating for us. Spread the Love.

    • Shane Melaugh says:

      Thank you for the suggestion, Frank.

      In the coming months, we won’t have the capacity to extend the feature like this. However, you can still insert specific scripts manually on specific pages, as shown here.

  • Diogo Castro says:

    I have a question Shane, first thank you for the update, now what if i want to set a different script based on events for example:

    For a general facebook pixel i can use this tool, but if i want to trigger an event based pixel from who subscribed then this would become not so handy, or am i missing something?

    Thanks,

    Br

    • Shane Melaugh says:

      Hello Diogo,

      You can still insert tracking scripts to individual landing pages (shown here), to track specific events.

  • Glen Andrews says:

    Shane, what about when you add different events on different landing pages? Example – Tracking a “purchase” event as opposed to a “lead” event on a thank you page. How will this work with the new tracking code?

  • Ramesh says:

    thanks, Shane, really great feature

    • Shane Melaugh says:

      Thank you Ramesh!

  • Ryan S says:

    Yes, yes, yes! Thank you – that was SO needed and is such a great update.

    Quick question: how come you don’t (just) load Google Tag Manager (GTM) and put the other scripts (ActiveCampaign etc. inside that?)

    • Shane Melaugh says:

      You can do that, yes. In fact, if you use DuracellTomi’s GTM plugin, you don’t need to use the Landing Page Script Manager at all. It’s one of the plugins that inserts scripts successfully in our pages.

      The downside is that then you have to deal with GTM, which isn’t exactly beginner friendly.

  • Awesome feature, I needed this one, thank you guys!

    • Shane Melaugh says:

      Glad you find it useful!

  • Wendy Breakstone says:

    Hi Shane, This seems great for Google Analytics but for FB Pixels I’m confused: I want the PageView pixel on EVERY Page including all my Landing Pages that I build w/ Architect. AND I also need to add a second FB Pixel conversion code on the Thank You pages. Where would I add that extra piece of tracking code?

    I’m not seeing the custom scripts box in the Architect Builder any more. I only see Customer HTML and custom CSS? What happened?

    • Shane Melaugh says:

      Hello Wendy,

      Our landing page templates basically ignore your normal theme page stuff, to make them as fast and lean as possible. That’s why, when it comes to tracking scripts, there’s a difference between Thrive Architect landing pages and your “normal” WordPress posts and pages.

      For scripts you want to include on every page on your site: add these scripts either with a native plugin or with a header/footer script plugins AND add them in the Landing Page Script Manager shown in this post.

      For scripts you want to add only to a specific landing page, you can follow these instructions.

  • John says:

    This is so useful…thanks very much.

    • Shane Melaugh says:

      Thank you, John!

  • Rohan A says:

    Shane, just off topic… I’m always impressed with the picture quality of your videos. I remember you saying once you used the Panasonic G6 /G7 camera. Is that what you shot this video with?

    • Shane Melaugh says:

      Hello Rohan,

      This video was shot on a Panasonic GH4. I also use a G6 and the image quality difference isn’t really apparent, especially after it goes through YouTube compression. I still definitely recommend the G6, which can be had very cheaply second hand, these days. G7 looks very competent as well. I think for any camera of this caliber and above, the lens you use will make a greater difference than the body.

  • This id AWESOME!

    Is there a specific reason you didn’t implement AC tracking as a tag in GTM? Was it just to show that one can manage a bunch of scripts right in Thrive?

    • Shane Melaugh says:

      Hello Alex,

      Yes, I just added several tags to show what it looks like. If you use GTM, then you can install every other tag through GTM.

  • Nick Conneff says:

    Is it going to be possible to use this feature on all blog posts (as well as landing pages) in the future?

    Need that for retargeting :)

    Otherwise top job. Thanks.

    • Shane Melaugh says:

      This is what will happen in our new theme, yes. It will use this same dashboard, so you have just one place to manage all scripts for your whole site.

  • Robin says:

    Sounded great in theory. But broken.

    Whenever I keep trying to add the scripts, as soon as I navigate away from Thrive Dashboard > Landing Page Analytics & Scripts… they disappear. I have tried numerous times.

    • Shane Melaugh says:

      Hello Robin,

      We haven’t seen any other instances of this problem. Could you please open a support ticket so our team can help you out?

  • Julian I says:

    Great feature and very timely. Thanks to you and the team for all you do.

    • Shane Melaugh says:

      It’s our pleasure, Julian. :)

  • Andras P says:

    Why aren’t Landing Page scripts and theme scripts merged into this feature in one place? Usually we need the same scripts for all posts, pages and landing pages (except heat tools for example).

    My suggestion is to handle all scripts in this great script manager, and put an other switch (besides “Inserted in Landing Pages”) that’s called “Inserted in theme posts & pages”.

    • Shane Melaugh says:

      This is a backwards compatibility issue with our old themes. When we release the new theme, script management will be unified.

  • Shane Melaugh says:

    Thank you for your positive feedback!

  • SY Abuzar says:

    I’m the little bit confused. are you saying the Google analytics script I added to the theme by myself won’t work for the blog post when I use Thrive Archetech to create new post?

    • Shane Melaugh says:

      The script you add in the theme settings works on all your theme pages, blog posts, custom post types and so on. The scripts you add in the Landing Page Script manager is added to pages where you override your theme with a landing page template.

  • Jarrod says:

    Good stuff. In the case of AdWords/Bing Ads etc where you would want to track a conversion goal on a thank-you/confirmation page, is there an option to add a page-specific goal.

  • >

    Join Thrive University (it's FREE!)