Mike, just testing this first one out before I send you an email with all of them:
ShieldLegal_AFFF ID: 7280651929749864449
Event: ID: 7327371160872714241
Token:
09e353bb29af48c5a3d06004754d402a4d069da4
curl --location --request POST '<https://business-api.tiktok.com/open_api/v1.3/event/track/>' --header 'Access-Token: ACCESS_TOKEN' --header 'Content-Type: application/json' --data-raw '{
"event_source": "crm",
"event_source_id": "7327371160872714241",
"data": [
{
"event": "event_type",
"event_time": 1687673101,
"event_id":"1616318632825_357",
"lead": {
"lead_id": "lead_id"
},
"user": {
"phone": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea",
"email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f"
}
}
]
}'
*Thread Reply:* @Mike Not sure what Ryan or you need me to do here. But this is the AFFF account the events for non-conversion negative targeting need to be added.
Let me know if that looks good and Iβll get the rest of them to you via email.
Hey Caleb. I also need the id for your pixel (under web events)
got it. thank you very much! I'll let you know if I run into any issues, but we should be good to go
ShieldLegal-Camp Lejeune ID: 7280653100074106881
Event: ID: 7327371291445477378
Token:
910c82bae2c6bbaaffb89cb3cb7cdb3497186bf7
curl --location --request POST '<https://business-api.tiktok.com/open_api/v1.3/event/track/>' --header 'Access-Token: ACCESS_TOKEN' --header 'Content-Type: application/json' --data-raw '{
"event_source": "crm",
"event_source_id": "7327371291445477378",
"data": [
{
"event": "event_type",
"event_time": 1687673101,
"event_id":"1616318632825_357",
"lead": {
"lead_id": "lead_id"
},
"user": {
"phone": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea",
"email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f"
}
}
]
}'
[9:45 AM] Pixel:
CKACSS3C77U6580FCBQ0
ShieldLegal-Intuit Privacy ID: 7286839406584070146
Event: ID: 7328093160910077953
Token:
4368da2c5e8b5d73f91dbdfc21021e24f268f1e5
curl --location --request POST '<https://business-api.tiktok.com/open_api/v1.3/event/track/>' --header 'Access-Token: ACCESS_TOKEN' --header 'Content-Type: application/json' --data-raw '{
"event_source": "crm",
"event_source_id": "7328093160910077953",
"data": [
{
"event": "event_type",
"event_time": 1687673101,
"event_id":"1616318632825_357",
"lead": {
"lead_id": "lead_id"
},
"user": {
"phone": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea",
"email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f"
}
}
]
}'
[9:45 AM] Pixel:
CKACSS3C77U6580FCBQ0
hey bud. did you ever get me your TT info for paraquat? if you already have I apologize, but I can't find it anywhere
nvm I went ahead and set it up. that account didn't even have the crm event
Hey Caleb. I got an alert about an hour ago saying there was a suspicious login to your account... was it you?
Perfect! I just had to make sure. Thanks Caleb!
Hey Caleb. When you're submitting a form request, please use "Forms > New Integration". your tickets aren't getting categorized correctly.
Hey Caleb. do you remember how to setup the crm events in tt?
I am confused here. I thought this was already set up
yea, that's the original signed e-sign event. we're adding "negative" events now. I'm about to go into a meeting, I'll circle back to you as soon as I'm done
I haven't forgot about you. I'm working on getting the list of all the statuses they want to track
Mike, please let me know on this when you get a chance. Thanks
I can hop on a call if itβs easier for you as well. Just let me know
still working on the list of events. did you see my other message about turning on your new zap for a little while just to collect a couple of leads
Mike, any update here. Can you please let Ryan know what we are waiting on here
I'm working on it. I talked to Ryan about it yesterday afternoon
Hey Caleb. Would you mind creating a new crm event in tt named something like "negative events", and send me the access token and code snippet please?
Event ID: 7345944749213368328
Token
09e353bb29af48c5a3d06004754d402a4d069da4
thank you, but all I need is the access token and that code snippet. as long as it's the same account you don't have to worry about the account id
I see the access token there.. just need the little code snippet
directly under the box where you get the access token
curl --location --request POST '<https://business-api.tiktok.com/open_api/v1.3/event/track/>' --header 'Access-Token: ACCESS_TOKEN' --header 'Content-Type: application/json' --data-raw '{
"event_source": "crm",
"event_source_id": "7327371160872714241",
"data": [
{
"event": "event_type",
"event_time": 1687673101,
"event_id":"1616318632825_357",
"lead": {
"lead_id": "lead_id"
},
"user": {
"phone": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea",
"email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f"
}
}
]
}'
{
"data": [
{
"action_source": "system_generated",
"custom_data": {
"event_source": "crm",
"lead_event_source": "Your CRM"
},
"event_name": "Lead",
"event_time": 1673035686,
"user_data": {
"lead_id": 1234567890123456
}
}
]
}
EAANqziJIFsgBOwUsApiceTrMTT6CSmAohDDRQAciqqGKOVDBh9u4UPC1AF3ygCrpd7W8aRoZCTTB7Yl6HBrMZC7IBIGFKO7NR8fr0Rbvl3ZB2SwY9QcN3ch1UTvP46ZBlRqqzbG01t7vXzWkF0EjUDsYPCWyhWWxBrjgErnpZB4J5KeNmK873alRAM7UoCvf31wZDZD
<https://graph.facebook.com/v20.0/661133545252756/events?access_token=EAANqziJIFsgBOwUsApiceTrMTT6CSmAohDDRQAciqqGKOVDBh9u4UPC1AF3ygCrpd7W8aRoZCTTB7Yl6HBrMZC7IBIGFKO7NR8fr0Rbvl3ZB2SwY9QcN3ch1UTvP46ZBlRqqzbG01t7vXzWkF0EjUDsYPCWyhWWxBrjgErnpZB4J5KeNmK873alRAM7UoCvf31wZDZD>
All three of these verticles are in this account
Penn Juv Hall, Maryland Juv Hall, New Jersey Juv Hall
Hey bud. hope you've been doing well. when you get a chance I need the info for your gaming addiction tt pixel please
Here you go:
Pixel ID: IDCPTJKP3C77U1C0R4RRRG Ad account: ID: 7376676613028757520
Pixel code if you need it:
```<!-- TikTok Pixel Code Start --> <script> !function (w, d, t) { w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for( var e=ttq.i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq.i=ttq.i||{},ttq.i[e]=[],ttq.i[e].u=r,ttq.t=ttq.t||{},ttq.t[e]=+new Date,ttq.o=ttq.o||{},ttq.o[e]=n||{};n=document.createElement("script") ;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)};
ttq.load('CPTJKP3C77U1C0R4RRRG'); ttq.page(); }(window, document, 'ttq'); </script> <!-- TikTok Pixel Code End -->```
can you please get me crm event id, or the test code snippet that you see on the settings page where you generate the access token
Event API? Here it is. I am not seeing that option in my setting.
curl --location --request POST '<https://business-api.tiktok.com/open_api/v1.3/event/track/>' --header 'Access-Token: ACCESS_TOKEN' --header 'Content-Type: application/json' --data-raw '{
"event_source": "web",
"event_source_id": "CPTJKP3C77U1C0R4RRRG",
"data": [
{
"event": "SubmitForm",
"event_id": "<event_id>", // string. A hashed ID that can identify a unique event. Example: "1616318632825_357".
"event_time": "<event_time>", // number. The time that the event took place. Use unix timestamp. Example: 1697783008.
"user": {
"ttclid": "<tiktok_click_id>", // string. TikTok Click ID (ttclid) or a tracking parameter added to a landing page URL whenever a user clicks on an ad on TikTok. It starts with "E.C.P.".
"external_id": "<hashed_extenal_id>", // string. Any unique identifier, such as loyalty membership IDs, user IDs, and external cookie <a href="http://IDs.It">IDs.It</a> must be hashed with SHA-256 on the client side.
"phone": "<hashed_phone_number>", // string. The phone number of the customer if available. It must be hashed with SHA-256 on the client side.
"email": "<hashed_email_address>", // string. The email of the customer if available. It must be hashed with SHA-256 on the client side.
"ttp": "<_ttp>", // string. Cookie ID saved in the _ttp cookie when you use Pixel SDK and enable cookies. Example: "2F7h37YkS1j57AYSKTI7IHhJPYH"
"ip": "<ip_address>", // string. Non-hashed public IP address of the browser.
"user_agent": "<user_agent>" // string. Non-hashed user agent from the user's device. Example: "Chrome/91.0.4472.124".
},
"page": {
"url": "<webpage_url>" // string. The page URL where the event took place. Example: "<http://demo.mywebsite.com/purchase>"
},
"properties": {
"contents": [
{
"content_id": "<content_identifier>", // string. ID of the product. Example: "1077218".
"content_type": "<content_type>", // string. Either product or product_group.
"content_name": "<content_name>" // string. The name of the page or product. Example: "shirt".
}
],
"value": "<content_value>", // number. Value of the order or items sold. Example: 100.
"currency": "<content_currency>" // string. The 4217 currency code. Example: "USD".
}
}
]
}'
actually I think that's all I need. thanks again!
Hey bud. Something's still off with your tt gaming addiction crm event. I believe the access token may be incorrect. Would you mind going to the crm event's settings and generating a new access token please
Hey Mike, curious to see if there would be any issues having a second pixel on existing sites? I need have a backup in place that can start collecting the same data. Let me know
hey caleb. i don't think it'll be an issue. we'll just have to add it and then test.