Facebook Custom tracking is causing duplicate link call

Bronze Contributor
Bronze Contributor

 We are moving all tags to server side and we are working on POC for this.

so we are using utag.link to fire facebook custom tags.  Due to this adobe link click call is firing on normal click and also firing second adobe link click call from facebook logic. Because of adobe data will be duplicated on server side.

So we want to remove duplicate link call before sending data into server side .

kindly help us to fix this issue?

 

example logic - 

  $('button.register-button').on('click', function() {
    if($('.parsley-errors-list.filled').length == 0){
     utag.link({
    "fb_event_name": 'view_content'
     })
    }
 });

  

2 REPLIES 2

Facebook Custom tracking is causing duplicate link call

Tealium Employee

In this case you'll want to combine your two events (Adobe and Facebook) into a single "utag.link()" call. You can add the parameter "fb_event_name" to the existing link call that is triggering Adobe. That single link event will trigger the Tealium Collect tag and you can then create separate event feeds in EventStream to trigger both Adobe and Facebook. For example:

Current Multiple Events

utag.link({
    "adobe_event":"event42"
})

utag.link({
    "fb_event_name":"view_content"
})

Combined Single Event

utag.link({
    "adobe_event":"event42",
    "fb_event_name":"view_content"
})

This approach can work for your client-side tags as well and will reduce the number of events being triggered on your site/page, helping Tealium run more efficiently.

Jen Kaye
Senior Premium Success Engineer | Tealium, Inc.

Facebook Custom tracking is causing duplicate link call

Bronze Contributor
Bronze Contributor

Thank you so much @jenniferkaye  we will try this solution.

Public