Labeling Leads Based on UTM Parameters in Pipedrive

Hello

Hope you are doing well.

I wanted to know that based on the form entries we have, there is a data of the particular entry like entry id, submitted on, user IP, embed URL.

We have ads campaign running on fb, google, etc. If the user comes from the FB campaign, in the form entry of that user the embed url will have the UTM parameters in it and have something like “utm_source=fb-ads” in the URL. Same for the google “ga-ads”.

Can give different label in the PIpedrive based on this thing? I mean if the URL has the utm source as “fb-ads” then in Pipedrive it should be labeled as “Facebook” and if it has “ga-ads” in utm source then it should be labeled as “Google”.

image

This is one of the records of the entries we have. The embed url you are seeing has the parameters in the url something like below:

In the url there is a parameter called “utm_source=ga-ads”. For this record it has “ga-records” for other few ones has “fb-ads”. I hope you are getting what I mean.

Now based on those parameters, I wanted to give the label for ga-ads its google and for fb-ads its facebook. How can I do this?

ORR

You could also tell me if I can get all that data or only this embed url into the Pipedrive?

Thanks!

Hi @prashanttechfusion,

Are you, or how have you configured, to get your Form data into Pipedrive separate from the issue of embed URLs for the page source?

Each would have a slightly different approach, but either using the {embed_url} merge tag or the source_url of the entry object is likely to be a part of your approach.

Regards,
Jamie

@Jamie

Thank you for the reply. Yes, you are correct. It is the {embed_url} merge tag is the part of the approach we have. For me that works.

So once again thanks and have a great day!

Glad you have something that works.

If you need to get more granular the gform_replace_merge_tags doc shows some good examples of customizing other standard merge tags to tweak the value it provides, or creating your own merge tag for more granular control.

Thank you for the suggestion! I’ll take a look at the gform_replace_merge_tags doc for more customization options.

Appreciate the tip!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.