multiple google +1 sharing buttons - google-plus

I have a single webpage with multiple items.
And I want to be able to share them separately with a google+1 containing a # to automatically scroll to the correct one.
For each of the items I defined the schema and verified with the testing tool: https://search.google.com/structured-data/testing-tool
This sees all the different items, I used the product schema.
But when I click the G+1 button it generates the same preview for each G+1 button.
Is it possible to have multiple G+1 buttons on a single page with different content?

No. The share content is based on the URL and ignores the #fragment. If you want multiple share summaries you will have to have multiple URLs.

Related

How to change widget data source dynamically, with click action on another widget

I have a line chart and 3 simple card widgets on the same page/state of a dashboard.
Each card shows a different telemetry reading (but all readings are from the same asset, they are not different devices because they all come from the same box with multiple sensors).
I would like the chart to change the data source depending on the card I click on (like when you navigate to a different state)
I know that actions/states work with entities, but I don't know if they work with readings.
Also, I would like to have all this on the same page, instead of navigating to a different page, that is what usually happens when you navigate to a different state.
Is this possible?

Track clicks on a button based on preceding button clicks

I need to track clicks on a button at the end of a sequence of selections. As shown in the image, there are five different business plans (circled in red), and each plan can be for three different years (highlighted in blue). The user will checkbox a business plan type (e.g., market trend) and click a year (e.g., 2017), then click the PDF button (highlighted in black) to download that particular plan (market trend for 2017 in this case).
So instead of counting the total clicks of PDF downloads, the task is to count how many times a particular plan is downloaded based on the plan type and year.
The PDF button, the checkbox for each plan type, and the click button for each year all can be tracked individually. They are also all on the same URL.
GTM and GA are used for tracking. Can anyone share some thoughts of how to achieve this type of tracking?
Thanks!
Yao
If you are using google tag manager you can use dataLayer.push() to push to an array which can be used to differentiate the clicks based on the interaction.
Approach is described here
Google Analytics custom dimensions
In your particular case you could have the dataLayer configured to add the different key / values for the different report components and then the trigger will be configured to fire when the download button is clicked.
For example on each of the check boxes you could have:
<input type="checkbox" onclick="dataLayer.push({'plan_component': 'Market Trends'});">
You'd probably better having an array to store this info.
The resultant data can be viewed or aggregated via a custom report download. Described here.
Custom Dimensions and Metrics
It can be a bit tricky to understand and you'll need to change the site so that the dataLayer gets populated with the requisite data but this is the way to go. Best of luck.

Rendering components are showing up twice when clicked on Add Here button in Sitecore Experience editor

In experience editor, whenever clicking on "Add here" button, getting duplicate entries of renderings.
Below is the image for reference. I am using Sitecore 8.2
Use Rendering id's to see if the both are same or different. Add the two renderings to the item in two different placeholders and then check the raw values in the presentation details of the item.
1.If both are same, Then it is caching issue. just clear the cache.
2.If both are different, then there is rendering available with the same name. If it is a duplicate then copy the rendering id from the presentation details and search it in the sitecore content tree and once you have a hit. delete it.

How to Show categories on BigCommerce

Is it possible to show specific categories in BigCommerce instead of all categories?
We have used the code %%Panel.SideCategoryList%% but it shows all the categories.
Thanks in advance
At this time there is not a way to uniquely control the output of categories using that panel. Depending on your context, you can either
1. Allow all categories to be output and use javascript to selectively hide a few (this is far from ideal, I know).
2. Manually add the categories into that panel and skip the dynamic category insertion.
In the admin, click on Products, then click Product Categories. That page displays all of the categories for your site. On the right of the page you'll see green checkmarks. If you don't want a category to be visible on your site, simply click the green checkmark and it will turn into a red X

What is an alternative to nesting remote forms in rails?

I have a User that can have multiple images. I would like to allow the user to add images while updating their user page and have those images dynamically updated so that they can see the images on their profile as they edit it. I currently have the images set as sortable using jQuery-ui. I would like the user to be able to add images, sort them, and edit their profile info and only need to click the submit button once.
I know that it is not possible to nest remote=>true forms and do not believe it's possible to submit files via ajax. Is there some other way this can upload the files and then use jquery to append them back to my div?
Unfortunately, from a user experience standpoint, the image section makes the most since being pretty much in the middle of the form. Moving it to the top or below the original form is less than ideal. I might be able to use CSS to make the remote form appear as if it is middle of the parent form, but this seems like a pretty bad solution.