Skip to Content
Technical Articles

Forms: Assign Campaign Link with a URL Parameter

Introduction

Sometimes you want to link to the same form or landing page from different sources (Facebook, Web Pages, …). If you want to capture the different sources in the resulting interactions there is the possibility to assign a link with a URL parameter.

Procedure

Create Campaign(s)

Create campaigns for each source. In this case the campaign does not need a target group and therefore I propose the TV Campaign category.

Landing Page linked to your Homepage

Prepare and publish your Landing Page. Then use the published link of the Landing Page with the URL parameter ‘sap-campaign-id’ and the ID of your previously created campaign anywhere on your homepage. The resulting landing page call should then like like this:

Linked Interactions

Check the resulting interactions in the contact profile. The campaign should be the one you have linked:

Follow-up with Segmentation

Now you can use a segmentation model to follow-up on the specific sources like so:

In this example I first filtered on the interaction type (Newsletter Subscribe), then I filtered on the specific landing page and finally I used the filter on the campaign ID for the different sources.

Conclusion

With this procedure you can use campaigns to link various sources to a single landing page.

Was this helpful for you? Can you use this procedure for your use cases? Please let me know in the comments.

2 Comments
You must be Logged on to comment or reply to a post.
  • HI Arne,

    Thank you very much for the content, I am currently doing a similar scenario where I have used the procedure you mention, the interaction is registered but the campaign id is not assigned to the

    interaction The structure of my adjusted url is:
    https://lpdhe4b6c67a.us3.hana.ondemand.com/p/zaEsc?sap-campaign-id=0000000491

    When checking the contact form (in app contacts tab interactions) the interaction information provided the url by the system is different

    https://lpdhe4b6c67a.us3.hana.ondemand.com/p/zaEsc?sapcampaign-id=0000000491

    Dont have same text for sap-campaign-id

    also when entering the detail of interaction i see that the campaign id is not assigned

    could it be said i am replicating the scenario correctly or should i consider making some previous adjustment to have the function enabled?