Using WhatsClicks

How to tag the page and button in your link (p and src)

Tagging the page and button in your WhatsApp link shows where the clicks are, not just how many there are. It takes two short tags, p and src, and a ready-made builder in the WhatsClicks dashboard.

4 min read ·

Why tag the page and button in your link?

Imagine you have a WhatsApp button at the top of your home page, another in the footer and another on the pricing page. If they all use the same untagged link, the dashboard shows the total number of clicks but does not say where they came from.

With tags, each button identifies itself. Then you find out, for example, that the top button gets more clicks than the footer one, and you can decide what to change based on data. Tagging is optional, and you can start without it and add it later.

This information is useful for anyone with a site with many pages, for people who run ads that lead to different pages and for agencies that look after several clients. In every case, the question the tags answer is the same: in which exact place did the person decide to chat on WhatsApp?

What do p, src and t mean in the link?

The WhatsClicks link is shaped like https://whatsclicks.com/w/code. After the code, you can add up to three optional tags.

  • ?p=/page says which page the button is on. Example: ?p=/pricing.
  • &src=top names the button, by position or by name. Examples: &src=top, &src=footer, &src=green-button.
  • &t=Hi, I came from the pricing page changes the first message only on that button, in place of the message registered on the link.

The first tag starts with a question mark (?) and the following ones start with an ampersand (&). Do not put spaces before the tags.

How do you use the dashboard's address builder?

You do not have to put the address together by hand. Under each link, on the Links tab of the dashboard, there is an address builder that does it for you.

  1. Log in and open the Links tab.
  2. Find the link you want to use and look at the address builder under it.
  3. Enter the page, for example /pricing, and the button, for example top. If you like, also enter a different message.
  4. Look at the full address the builder created. It should look like https://whatsclicks.com/w/code?p=/pricing&src=top.
  5. Copy that address and paste it into the matching button's link field in your website editor.

If you cannot find the builder the first time, look under the link on the Links tab. What the dashboard shows is what counts, and the Help tab can also guide you.

A practical example: a site with three buttons

Suppose a store has three WhatsApp buttons. The numbers below are only an example to explain how to read the results, not real data.

The top button on the home page uses ?p=/&src=top. The footer button on the same page uses ?p=/&src=footer. And the button on the pricing page uses ?p=/pricing&src=table. After a week, the dashboard might show, for example, 60 clicks on the top, 15 in the footer and 25 on the pricing table.

From that you learn that the top button is working well, the footer one is barely seen and the pricing page has room to grow. The counter only shows what happened. The decisions are still yours.

Where do you see the results in the dashboard?

Open the Summary tab. There, two tables use your tags: the By page table shows the clicks for each value of p, and the By button table shows the clicks for each value of src. Each table also has Today and Yesterday columns, which help you see the effect of a change on the next day.

The highlights in plain sentences at the top of the Summary also use the tags. They tell you, for example, which page is the most clicked and which button is the most clicked in the chosen period. If you have not tagged anything yet, that information stays blank or generic.

One important caution: the tags only apply to clicks that happen after the button starts using the new address. Older clicks stay without that information. So it is worth tagging your buttons early, before accumulating many untagged clicks.

You can also filter the dashboard by link and by period. That way you compare, for example, the last 7 days with the previous 30 days and see whether the distribution among buttons changed after a layout change.

Best practices for naming pages and buttons

A good name helps you three months from now, when you have forgotten what you chose. Follow a few simple rules to keep things organized.

  • Use short names with no accents and no spaces: top, footer, floating, product-x.
  • Be consistent. If you chose footer, do not later use bottom or foot.
  • For the page, use the path of the site address, such as /contact or /pricing.
  • Write the names down in a simple spreadsheet so nobody on the team invents a new one.

Frequently asked questions

What does the src parameter mean in the link?

In WhatsClicks, src says which button was clicked, by position or name, like top or footer. It comes after p, separated by an ampersand (&).

Do I have to tag the page and button for the link to work?

No. The tags are optional. Without them, the link takes people to WhatsApp and counts clicks normally; it just does not split them by page and button.

Can I change the first message on a specific button?

Yes. Use the &t= tag followed by the text you want, and that button will open the chat with that message instead of the one registered on the link.

Do the tags change what the customer sees?

Only the first message, if you use &t=. The p and src parameters are just for your count and do not appear to the person clicking.

Keep reading

← Back to the blog