You can easily add the Feedbucket script tag using Google Tag Manager. Just follow the steps below.
New Tag
as shown in the screenshot below.Custom HTML
as shown in the screenshot below.data-feedbucket
in the script. See the screenshot below as an example where the feedbucket project key would be gwXluMRet5OmA69KTXI
.Enter the below code into the HTML
section in Google Tag Manager as seen on the image at step 3. Make sure that you change the YOUR_PROJECT_KEY_FROM_STEP_4
to the key the project key that you found in step 4.
<script>
(function(k) {
s=document.createElement('script');s.module=true;s.defer=true;
s.src="https://cdn.feedbucket.app/assets/feedbucket.js";
s.dataset.feedbucket=k;document.head.appendChild(s);
})('YOUR_PROJECT_KEY_FROM_STEP_4')
</script>
Make sure you have All Pages
as the section Triggering
as seen below. This will trigger Feedbucket on all pages where GTM is installed.
Click on Save
to store your new tag.
Click on Submit
to publish the new tag.
You might have to clear your browser cache to see Feedbucket installed through Google Tag Manager.