If you’re using WordPress and Google Tag Manager, chances are that gtm4wp plugin is in your stack. Although it’s really awesome, after installing the plugin and configuring it, you still have to configure your GTM container to use all the triggers and variables (which is time-consuming).
Jules Stuifbergen made a container you can import into your GTM workspace which creates tags, trigger, and variables. You can find a full list here.
INSTRUCTIONS
- Download Container File
Download the container JSON file (right-click on the link and click “Save Link As” or “Save Target As” to save the JSON file to your computer). - Import JSON File into GTM
Log into your own Google Tag Manager container and head to the Admin section of the site. Under Container options, select Import Container. Read this blog post for more details about importing a container file. - Preview & Publish
Use the Preview options to test this container on your own site. Try testing each of the events to make sure they’re working properly. If everything looks good, go ahead and publish!
View all 40+ Google Tag Manager Recipes