We have same component on many of pages on website. We want to implement recommendation activity for all these components at all pages.
Do we need to go to each page and create a seperate recommendation activity by giving URL of Page and selecting the component?
Could we create one recommendation activity at component level which becomes applicable of all pages wherever that component is available? If Yes than how can we do that?
You can create a template rule with Activity URL as below. This will allow you to create the activity for all the pages which qualify for this rule.
Please refer Activity URL for more information on the template rules
Since you are referring to AEM components, you can also base your activity to run on all the pages where the mbox is present. This can be achieved using the form based composer.
Ref: Create a Recommendations Activity