Hi Everyone,
I am facing issue in Event forwarding while using 2 different prod token. Its showing error related to data element where i am returning token based on condition.
If i use only 1 token directly in Meta extension its working fine.
Can anyone suggest.
Thank
解決済! 解決策の投稿を見る。
トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。
表示
返信
いいね!の合計
Well basically you create the secrets first and then create a data element that references the secrets.
The "Secret" data element type is able to handle different tokens to cater for the different environment stages.
Then, you can just use the regular functionality to retrieve data elements
getDataElementValue('myToken')
Thanks @bjoern__koth for reply. When I am returning single token with out any condition and using the same data element in Meta extension. Here is the error -
when i use multiple pixel ID dynamically then following error is getting populated -
And how does your custom code look?
表示
返信
いいね!の合計
@bjoern__koth For token i am simply returning in this way, once this approach works then i was planning to add another token with condition.
For dynamic pixel ID following code i am using -
Ah, so you are hardcoding your tokens and don't use the Secrets approach Launch SSF brings?
Maybe try that approach and return the two data elements variations in your custom code instead.
Yes, I am passing it as hard coded value.
Could you please share any reference, how to fetch Secret in data element.
表示
返信
いいね!の合計
Well basically you create the secrets first and then create a data element that references the secrets.
The "Secret" data element type is able to handle different tokens to cater for the different environment stages.
Then, you can just use the regular functionality to retrieve data elements
getDataElementValue('myToken')