New Landing How can we help? Atelier Google Tag Manager dataLayer Variables & Facebook Advance Pixel Event Codes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #329107
    OrganifiedBeautyBox
    Member
    Post count: 58

    Hi,

    It seems this theme doesn’t have dataLayer variable for product pages, cart and checkout is this correct?

    In Google Tag Manager it requires the dataLayer variable to be inserted to push so it allows to do Facebook Advance Pixel Event such as view content, add to cart and purchase.

    See Facebook Advance Event Code below:

    <script>
    fbq(‘track’, ‘ViewContent’, {
    content_ids: [‘1234’],
    content_type: ‘product’,
    value: 0.50,
    currency: ‘USD’
    });
    </script>

    <script>
    fbq(‘track’, ‘AddToCart’, {
    content_ids: [‘1234’, ‘1853’, ‘9386’],
    content_type: ‘product’,
    value: 3.50,
    currency: ‘USD’
    });
    </script>

    <script>
    fbq(‘track’, ‘Purchase’, {
    content_ids: [‘1234’, ‘4642’, ‘35838’],
    content_type: ‘product’,
    value: 247.35,
    currency: ‘USD’
    });
    </script>

    Hope you can assists.

    Thanks.

    #329199
    OrganifiedBeautyBox
    Member
    Post count: 58

    Can you please help?

    Thanks.

    #329222
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will forward to the development team.

    -Rui

    #329277
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Please see this plugin – https://en-gb.wordpress.org/plugins/duracelltomi-google-tag-manager/

    Hope that helps.

    – Ed

    #329523
    OrganifiedBeautyBox
    Member
    Post count: 58

    I’ve already tried that several times and finding ways to find the dataLayer variables and it doesn’t work. It just won’t show the dataLayer Variable within the plugin.

    It looks like this theme isn’t suitable for implementing Google Tag Manager, Dynamic ReMarketing whether its Google or Facebook.

    You might have to update this within your theme page when people buy the theme just to let them know if they ever wanting to purchase this it won’t allow to do any of the above mentioned.

    Would be nice if something like these will be fixed for the theme?

    Thanks.

    #329530
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    It’s not a case so much as the theme is not compatible, inserting 3rd party code as per their instructions requires some modification or manual development to fully integrate their code – it’s not possible to guarantee the theme works with any random JS code inserted.

    Where specifically do that ask you to insert each code? Ex: In the head? In body?

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register