Want to quickly acquire customers? Here are 2 ways to promote your app to others

Want to quickly acquire customers? Here are 2 ways to promote your app to others

In the previous mini program Q&A, we introduced to you how to direct traffic from public accounts to mini programs.

So, can mini programs drive traffic to other mini programs? The answer is of course yes.

Today, I will teach you step by step how to jump and guide each other between mini programs.

In a mini program, there are two ways to guide users to use other mini programs. One is to jump directly using the interface, and the other is to jump by scanning the mini program code.

1. Jump directly

WeChat provides an interface for mini-programs, which allows you to directly launch and jump from one mini-program to another.

The specific code is as follows:

Its advantages are: users can jump directly by clicking the button without scanning the code, confirming, etc.; at the same time, developers can also easily define the page address, specific parameters, etc. of entering the mini program.

However, a mini program cannot jump to any other mini program. WeChat stipulates that a mini program can only jump to other mini programs associated with the same official account.

That is to say, if your mini program is not associated with the same official account as other mini programs, then the two mini programs will not be able to jump directly through this interface.

At the same time, when calling the interface, you need to know the AppID of the target applet in order to use this interface normally.

Follow the WeChat public account "Zhi Xiao Cheng Xu" and reply "AppID" to learn how to obtain the Mini Program AppID.

2. Scan the QR code to jump

If you don’t know the AppID of the other party’s mini program, you can also choose to use the “long press to scan the code” feature to complete the jump between mini programs.

The specific operation method is as follows:

  • Developers use the wx.previewImage() interface to open the applet code of the target applet.
  • After the mini program code is opened, the user long presses the mini program code and clicks "Scan the mini program code in the picture" to start the target mini program.

It should be noted that if the wx.previewImage() interface is used to call a QR code image, the "Scan QR code in the image" option will not be displayed when long pressing. This prompt will only appear when the mini program Chrysanthemum Code is called.

Its disadvantages are quite obvious:

  • First, developers need to call the wx.previewImage() interface, open the mini program code image and let the user scan the code, so that users can long press the mini program code to scan.
  • Secondly, if you need to jump to a specified target page or add specific parameters, you need to use the specific mini program code generated by the target mini program.

But the benefits of using it are also obvious. Using this method to jump to other mini-programs, you can jump to any other mini-program without being restricted by the public account association.

You can choose the appropriate mini-program jump method according to your actual situation to complete the traffic diversion operation between mini-programs.

In addition, when mini programs are directing traffic to each other, please be sure to comply with the relevant regulations of WeChat mini programs.

<<:  Cooling down high concurrency: Meituan’s high-performance, high-reliability four-layer load balancing MGW optimization practice

>>:  Get the App information you want through PackageManager!

Recommend

What did you say? I can't hear you without my glasses.

People with myopia often have a feeling After tak...

How to do 315 crisis public relations?

Tomorrow, CCTV’s annual “selecting troops and gen...

Online Live Traffic Drainage Course Practical Manual

A high-conversion live class can bring hundreds o...

Do dung beetles also "pick up poop"? Why do they roll dung balls?

Expert: Zhang Qikai, Chinese Academy of Agricultu...