Skip to content

Change the pixel token without losing events ​

Generating a new token in Meta kills the previous token right away. From that moment, the pixel only receives your funnel events again once the new token is saved in Track4you. That's why you change it in one go, with no gap.

The "Important" notice on the Pixels screen about generating a new token

When to change it ​

  • The "Error History" shows error 190 ("Invalid or expired access token"). See Pixel status and Error History.
  • You generated a new token in Meta (you or someone on your team).
  • You think the token leaked.

Before you start ​

  • Keep Track4you open on the Pixels screen and Events Manager open in another tab.
  • If you can, choose a time with less traffic.

Step by step ​

  1. In Track4you, open Pixels and click the pencil on the pixel row. Keep the "Edit Pixel" modal open.

  2. In Events Manager, generate the new token: open the pixel, go to "Settings", in the Conversions API section check "Set up without Dataset Quality API" and click "Generate access token". Copy the token. See the path with screenshots in Where to find the pixel ID and the token.

  3. Go back to Track4you, delete the old token in "Access Token", paste the new one and click "Save". The screen confirms with "Pixel saved successfully!".

    The "Edit Pixel" modal with the "Access Token" field highlighted

  4. Click the paper plane on the pixel row and send the Test Event to confirm that the new token is working. See Send the Test Event and confirm the events.

Keep the token like a password

Don't share the token by WhatsApp, email or screenshot. If it leaked, generate a new one and update it here: the old one stops working.

How to check it worked ​

  • The Test Event reaches Meta's "Test events" tab.
  • With the funnel events arriving, the pixel status in "My Pixels" shows "Receiving data", and no new 190 errors show up in the "Error History".

Common problems ​

  • "Invalid token" when saving: the token was copied incomplete or belongs to another pixel. Copy it again, in full.
  • You use the same pixel in more than one tool: the new token applies to all of them. Update each one right after generating it, starting with Track4you.
  • I generated two tokens in a row: only the last one is valid. Paste the most recent one into Track4you.

Still have questions? Talk to support on WhatsApp.