• Hey there,

    I’m using WordPress for years now and on various projects. This time I’ve got something more complicated to accomplish.

    I’ve got a website where I offer my clients funnel/landing pages which are completely premade and not editable for their product they want to sell to their own clients in return. This one static page has dynamic redirection buttons so that multiple users get their own link which looks like "https://website.com/funnel1/?ref=user".

    In short: static funnel page, the URL suffix determines where to redirect the visitor because of the “/?ref=user”. This system already works, now I am wondering if I can use multiple Facebook Pixels, for example I’ve got 2 static landing pages such aus:
    – /funnel1/
    – /funnel2/

    and now for each suffix “/?ref=user” I want to trigger a different Facebook Pixel. At the end it looks like this:

    User 1 has his facebook pixel setup with the site administrator and his pixel looks because of the setted url suffix now to these pages:
    – /funnel1/?ref=user1
    – /funnel2/?ref=user1

    The same thing for user 2 and so on…
    – /funnel1/?ref=user2
    – /funnel2/?ref=user2

    What do you guys think? Is there a even better solution to this? Let me know and thanks in advance!

    • This topic was modified 2 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    If you’re redirecting to a custom page that’s per user, wouldn’t the appropriate FB pixel more logically belong there?

    If you really want it on the funnel page, use the same logic you use to generate the button’s redirect link to generate the appropriate FB pixel code. How would this code know what’s the right pixel code for this user? Typically it’d be part of the user’s profile (it’s not a default field though). If so, the proper FB ID would likely be saved in user meta.

    Thread Starter aero

    (@eneashira)

    The end redirected custom page is another whole project which I don’t have access to. So only the funnel is interesting for me to use multiple Facebook Pixels on and to determine each Facebook Pixel ID by the link suffix.

    A FB ID field in the user meta is a great solution and also extends the logic of the already implemented functionality. However, I have difficulties with extending the plugin I already have custom made.

    Is there any plugin who already does this job or maybe a developer who is ready to work with me on this one with paid?

    Would appreciate it, thanks in advance for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Multiple Facebook Pixels on ONE page depending on the URL suffix’ is closed to new replies.