Skip to content

Set Tabbola ClickID and get it when not present in URL SearchParams #3

Description

@Beethoven

const tblci = client.url.searchParams.get('tblci')

We need to set the tblci to be able to get it in subsequent navigation/event
We need a GETCLICKID function like getFBC in Facebook MC

const getFBC = (event: MCEvent) => {
const { client } = event
let fbc = client.get('fb-click') || ''

if (client.url.searchParams?.get('fbclid')) {
fbc = fbCookieBase(event) + client.url.searchParams.get('fbclid')
client.set('fb-click', fbc)
}
return fbc
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions