Adding your ConvertFlow script to your website

In this short article, we're going to cover placing your ConvertFlow website script in some of the most common website platforms used by marketers.


Adding ConvertFlow to WordPress is easy! Just head to the plugins area of your WordPress site, search for " AddFunc Head & Footer Code", install the plugin, and activate it.

Then, head to Settings > Head & Footer Code to add your script. With your ConvertFlow script copied, paste it in the "Head code" field. Then click "Save". And you're done!

Google Tag Manager

Google's "Tag Manager" tool is a great way to manage all of your marketing scripts and advertising pixels from one dashboard, and using one central Google script that can be placed on your website.

To add ConvertFlow to Google Tag Manager, click "New", name the tag "ConvertFlow", choose "Custom HTML tag", paste the script code within the HTML field and click "Save".

Make sure that your trigger options for the tag are set to "Once per page" and the script fires on all pages.

Configuring ConvertFlow in Google Tag Manager for one-page web applications

If you use ConvertFlow in a one-page web application, where navigating the app doesn't initiate an entire page load, you can manually initiate ConvertFlow's campaign targeting logic by calling  convertflow.start() on each page navigation.

And using Google Tag Manager, you can easily add the additional Javascript needed to initiate ConvertFlow on in-app page navigation, by creating another GTM tag with the following snippet, and firing the tag on  Page Change/History Change.

  if (window.convertflow !== undefined) {


In your admin navigation, head to Online Store > Themes > Edit HTML/CSS > Layout > theme.liquid, and add your ConvertFlow script between the <head></head> tags.

Here is a tutorial video for visual reference.